/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Clases Online en Vivo - SAI
   ========================================================================== */


body
{
    color:#313131;
    background-color:#fff;
    font-family:Helvetica, Arial, sans-serif;
    text-shadow:0px 1px 1px #fff;
    -overflow:hidden;
    font-size:12px;
}

body *
{
    transition:none 105ms linear;
}

body a {
    color:inherit;
    text-decoration:underline;
}

body > header
{
    position:relative;
    box-sizing: border-box;
    z-index:2000;
    width:100%;
    height:45px;
    border-bottom:1px solid #dedede;
    background:linear-gradient(to bottom, rgba(247,247,247,1) 0%,rgba(235,235,235,1) 100%);
}

body > header > div.logo
{
    position:absolute;
    left:0;
    top:0;
    width:230px;
    height:100%;
    border-right:1px solid #fff;
    overflow:hidden;
}

body > header > div.logo > a {
    position:absolute;
    width:100%;
    height:100%;
    display:block;
    border-right:1px solid #dedede;
    box-sizing:border-box;
    text-decoration:none;
    transition-property:background-color;
    line-height:0.7em;
    background:url("images/logo.png") no-repeat 11px 50%;
    padding-left:50px;
    padding-top:20px;
    font-family:Caecilia;
    font-weight:bold;
    font-style:italic;
}

body > header > div.logo > a:hover {
    background-color:rgba(255,255,255,0.45);
}

body > header > div.logo > a > h1 {
    margin:0;
    font-size:21px;
    display:block;
    color:#5d5d5d;
    text-transform:uppercase;
}

body > header > div.logo > a > strong {
    font-size:9px;
    color:#b5b5b5;
    display:block;
    position:absolute;
    top:16px;
    left:90px;
}

body > header > div.teacher-menu
{
    margin-left:230px;
    margin-right:210px;
    vertical-align:middle;
    padding:10px 10px;
}

body > header > div.teacher-menu > img
{
    position:relative;
    top:-1px;
    display:inline-block;
    width:24px;
    height:24px;
    border-radius:3px;
    overflow:hidden;
    border:1px solid #f3f3f3;
    border-top-color:transparent;
    border-right-color:#f6f6f6;
    border-left-color:#f6f6f6;
    margin-right:8px;
}

body > header > div.teacher-menu > h2
{
    display:inline-block;
    margin:0;
    font-size:13px;
    margin-right:8px;
    font-family:Caecilia;
    font-style:italic;
}

body > header > div.teacher-menu > h2 > span {
    color:#b5b5b5;
}

body > header > div.teacher-menu > ul {
    position:relative;
    top:-2px;
    margin:0;
    padding:0;
    list-style:none;
    display:inline;
}

body > header > div.teacher-menu > ul > li {
    display:inline-block;
    margin-right:10px;
}

body > header > div.teacher-menu > ul > li > a,
body > header > div.teacher-menu > ul > li > button
{
    font-size:9px;
    padding:4px 6px;
}

body > header > div.next-class
{
    position:absolute;
    right:0;
    top:0;
    width:210px;
    height:100%;
    border-left:1px solid #dedede;
    overflow:hidden;
}

body > header > div.next-class > a {
    position:absolute;
    width:100%;
    height:100%;
    padding:9px 12px;
    padding-left:37px;
    display:block;
    border-left:1px solid #fff;
    box-sizing:border-box;
    text-decoration:none;
    transition-property:background-color;
    line-height:1em;
}

body > header > div.next-class > a:hover {
    background-color:rgba(255,255,255,0.45);
}

body > header > div.next-class > a > span.icon {
    position:absolute;
    top:22px;
    left:12px;
    font-size:32px;
}

body > header > div.next-class > a > span.subtitle {
    text-transform:uppercase;
    color:#b5b5b5;
    font-size:9px;
    font-weight:bold;
}

body > header > div.next-class > a > strong {
    font-size:12px;
    color:#5d5d5d;
}


body > div.left-menu
{
    position:absolute;
    z-index:100;
    left:0;
    top:45px;
    width:190px;
    height:calc(100% - 45px);
    border-right:1px solid #dedede;
    background:#f7f7f7;
    box-sizing:border-box;
    overflow:hidden;
}

body > div.left-menu > div.search
{
    border-top:1px solid #fff;
    border-bottom:1px dashed #cfcfcf;
    padding:10px;
}

body > div.left-menu > div.search > strong
{
    display:none;
}

body > div.left-menu > div.search > input
{
    border:1px solid #c5c5c5;
    border-radius:3px;
    overflow:hidden;
    background:#fff;
    font-size:10px;
    padding:2px 5px;
    box-sizing: border-box;
    width:100%;
}

body > div.left-menu > div.sidebar
{
    position:absolute;
    top:40px;
    left:0;
    width:100%;
    height:calc(100% - 115px);
    overflow:auto;
}

body > div.left-menu > div.sidebar > nav
{
    padding-top:10px;
}

body > div.left-menu > div.sidebar > nav > h3
{
    display:none;
}

body > div.left-menu > div.sidebar > nav > ul
{
    margin:0;
    padding:0;
    list-style:none;
}

body > div.left-menu > div.sidebar > nav > ul > li > a
{
    position:relative;
    display:block;
    color:#5d5d5d;
    font-size:11px;
    text-decoration:none;
    padding:6px 20px;
    padding-left:35px;
    text-shadow:none;
    transition-property:background-color;
}

body > div.left-menu > div.sidebar > nav > ul > li > a:hover,
body > div.left-menu > div.sidebar > nav > ul > li > a.selected
{
    background-color:#dedede;
}

body > div.left-menu > div.sidebar > nav > ul > li > a > span.icon {
    position:absolute;
    top:12px;
    left:20px;
    font-size:21px;
}

body > div.left-menu > footer {
    position:absolute;
    bottom:0;
    width:100%;
    border-top:1px solid #dedede;
    padding:10px 0;
    background:#f7f7f7;
}

body > div.left-menu > footer > ul
{
    margin:0;
    padding:0;
    list-style:none;
}

body > div.left-menu > footer > ul > li
{
    position:relative;
}

body > div.left-menu > footer > ul > li > a
{
    display:block;
    color:#5d5d5d;
    font-size:11px;
    text-decoration:none;
    padding:6px 20px;
    padding-left:35px;
    text-shadow:none;
    transition-property:background-color;
}

body > div.left-menu > footer > ul > li:hover > a,
body > div.left-menu > footer > ul > li.selected > a
{
    background-color:#dedede;
}

body > div.left-menu > footer > ul > li > a > span.icon {
    position:absolute;
    top:13px;
    left:20px;
    font-size:21px;
}

body > div.left-menu > footer > ul > li > span
{
    position:absolute;
    top:4px;
    right:20px;
    font-size:9px;
}

body > div.left-menu > footer > ul > li > span > a.notif
{
    display:inline-block;
    color:#5d5d5d;
    text-decoration:none;
    text-shadow:none;
    transition-property:background-color;
    padding:2px 4px;
    margin-right:5px;
}

body > div.left-menu > footer > ul > li > span > a.notif:last-child
{
    margin-right:0;
}


body > section.module
{
    position:absolute;
    top:45px;
    left:190px;
    width:calc(100% - 190px);
    height:calc(100% - 45px);
    overflow:auto;
    box-sizing:border-box;
    padding-left:190px;
}

body > section.module > div.left-menu
{
    position:absolute;
    top:0;
    left:0;
    width:190px;
    height:100%;
    background:#f7f7f7;
    border-top:1px solid #fff;
    border-left:1px solid #fff;
    border-right:1px solid #dedede;
    font-size:9px;
    padding:10px;
    overflow:auto;
    box-sizing:border-box;
}

body > section.module > div.left-menu > ul
{
    margin:0;
    padding:0;
    list-style:none;
}

body > section.module > div.left-menu > ul > li
{
}

body > section.module > div.left-menu a.button
{
    display:block;
    text-transform:uppercase;
    font-weight:bold;
    margin-bottom:10px;
}

body > section.module > header
{
    position:relative;
    background:#f7f7f7;
    height:38px;
    overflow:hidden;
    border-top:1px solid #fff;
    border-bottom:1px solid #dedede;
    box-sizing:border-box;
    padding:10px;
}

body > section.module > header > div.title
{
    font-size:12px;
}

body > section.module > header > div.title > a
{
    position:relative;
    display:inline-block;
    text-decoration:none;
    padding-left:16px;
}

body > section.module > header > div.title > a > span.icon {
    position:absolute;
    top:8px;
    left:0px;
    font-size:22px;
}

body > section.module > header > div.title > a:hover
{
    text-decoration:underline;
}

body > section.module > header > div.title > span.icon {
    position:relative;
    top:2px;
}

body > section.module > header > div.help
{
    position:absolute;
    right:0;
    top:0;
    width:70px;
    height:100%;
    border-left:1px solid #dedede;
}

body > section.module > header > div.help > a
{
    display:block;
    position:absolute;
    top:0;
    right:0;
    width:100%;
    height:100%;
    border-left:1px solid #fff;
    font-size:10px;
    vertical-align:middle;
    padding:10px;
    box-sizing:border-box;
    text-decoration:none;
    text-align:center;
}

body > section.module > header > div.help > a:hover {
    text-decoration:underline;
}

body > section.module > div.sidebar
{
    position:absolute;
    top:38px;
    left:190px;
    width: calc(100% - 190px);
    height:calc(100% - 38px);
    overflow:auto;
    box-sizing:border-box;
    padding:40px;
}

body > section.module > div.sidebar > div.content
{
    /*max-width:600px;*/
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
